package com.wangbo.multi.exception.enums;

import com.wangbo.multi.exception.BaseExceptionEnum;
import lombok.AllArgsConstructor;

/**
 * @Package: com.company.demo
 * @Author: Mr.Waves
 * @Date: 2020-03-05 20:03
 * @Description:
 **/
@AllArgsConstructor
public enum ServerExceptionEnum implements BaseExceptionEnum {
    UNKNOWN_EXCEPTION(500,"未知异常，请联系管理员")
    ;

    private Integer code;
    private String message;

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
